Fix bug #10674 with infinite re-spawning of cmdproxy.exe.
authorEli Zaretskii <eliz@gnu.org>
Fri, 24 Feb 2012 10:13:20 +0000 (12:13 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 24 Feb 2012 10:13:20 +0000 (12:13 +0200)
commit4ca8ce7e1cae4fcf23734b955afa21cf6a7c916c
tree2be10072ffba4472354c6e368a67a3cd07edde0a
parentc4ac949f5994337a624767ecabb45adf6ee8e8bc
Fix bug #10674 with infinite re-spawning of cmdproxy.exe.

 nt/cmdproxy.c (main): Bypass conversion of the file name in argv[0]
 and our own module name to short 8+3 aliases, if the original file
 names compare equal.  If GetShortPathName fails, compare the base
 names of the two file names, and only re-spawn the command line if
 the base-name comparison also fails.
nt/ChangeLog
nt/cmdproxy.c